package com.wujing.method

class Dog {
  var name:String=_
  var age:Int=_

  def sayHello(): Unit ={
    printf("这只小狗的名字叫：%s,今年%d岁了",this.name,this.age)
  }

}
